<!DOCTYPE html>
<html lang="en">
<head>

  <!-- Basic Page Needs
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <meta charset="utf-8">
  <title>Zooming</title>
  <meta name="description" content="Image zoom that makes sense.">
  <meta name="keywords" content="Image,Zoom,Image Zoom,JavaScript">
  <meta name="author" content="Desmond Ding">

  <!-- Mobile Specific Metas
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <!-- FONT
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <link href="https://fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">

  <!-- CSS
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css">
  <link rel="stylesheet" href="demo/css/custom.css">

</head>
<body>

  <!-- Primary Page Layout
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <div class="container">

    <section class="header">
      <h2>Zooming</h2>

      <div class="value-img">
        <img src="demo/img/journey_start_thumbnail.jpg"
        data-action="zoom"
        data-original="demo/img/journey_start.jpg"
        alt="journey_start_thumbnail" />
      </div>
    </section>

    <section class="content">
      <h4>Image zoom that makes sense.</h4>

      <ul>
        <li>Pure JavaScript &amp; built with mobile in mind.</li>
        <li>Smooth animations with intuitive gestures.</li>
        <li>Zoom into a hi-res image if supplied.</li>
        <li>Easy to integrate &amp; customizable.</li>
      </ul>

      <div class="value-img">
        <a href="demo/img/journey.jpg">
          <img src="demo/img/journey_thumbnail.jpg"
          id="img-custom"
          alt="journey_thumbnail" />
        </a>
      </div>

      <p><small>Options below were designed to affect the second image only.</small></p>

      <div class="row">
        <a class="button" id="btn-fast" onclick="fast()">faster</a>
        <a class="button" id="btn-slow" onclick="slow()">slower</a>
        <a class="button" id="btn-dark" onclick="dark()">dark</a>
        <a class="button" id="btn-scale-small" onclick="scaleSmall()">smaller</a>
        <a class="button" id="btn-no-grab" onclick="noGrab()">no grab</a>
      </div>

      <br>

      <p>
        <em>Faced with rolling sand dunes, age-old ruins, caves and howling winds,
          your passage will not be an easy one. The goal is to get to the mountaintop,
          but the experience is discovering who you are, what this place is,
          and what is your purpose.</em>
      </p>

      <br>

      <a class="button button-primary" href="https://github.com/kingdido999/zooming">start journey</a>
    </section>

    <br>
  </div>

  <hr>

  <footer>
    <p id="copyright"></p>
    <p id="license"></p>
  </footer>

  <!-- Scripts
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
  <script src="build/zooming.js"></script>
  <script src="demo/js/custom.js"></script>
<!-- End Document
  –––––––––––––––––––––––––––––––––––––––––––––––––– -->
</body>
</html>
